﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ManagedTestPlugin2
{
    public partial class AskInputBox : Form
    {
        public AskInputBox()
        {
            InitializeComponent();
        }

        public string Answer
        {
            get;set;
        }
        public DialogResult ShowDialog(IWin32Window Wnd, string Desc, string DefText)
        {
            label1.Text = Desc;
            textBox1.Text = DefText;
            DialogResult res = this.ShowDialog(Wnd);
            Answer = textBox1.Text;
            return res;
        }
    }
}
